<!DOCTYPE html>
<html lang="en-US" xmlns:th="http://www.thymeleaf.org" xmlns:float="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>写帖子</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="郁郁苍苍,Share,分享,生活,快乐,让世间美好与你环环相扣">
    <meta name="time" content="写自于2020年一个雪虐风饕的晚上">
    <meta name="description" content="乐人之乐,人亦乐其乐;忧人之忧,人亦忧其忧。郁郁苍苍 一个可以分享心情,分享时光,分享生活点滴的社交平台">
    <link rel="icon" th:href="@{/favicon.ico}" type="image/x-icon"/>
    <link rel="bookmark" th:href="@{/favicon.ico}" type="image/x-icon"/>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/css/global.css}">
    <link rel="stylesheet" th:href="@{/layui/css/modules/layer/default/layer.css}">
</head>
<body>
<!--引入上边栏-->
<div th:replace="~{common/header::head}"></div>

<div class="layui-container fly-marginTop">
    <div class="fly-panel" pad20 style="padding-top: 5px;">
        <!--<div class="fly-none">没有权限</div>-->
        <div class="layui-form layui-form-pane">
            <div class="layui-tab layui-tab-brief" lay-filter="user">
                <ul class="layui-tab-title">
                    <li class="layui-this">发表新帖<!-- 编辑帖子 --></li>
                </ul>
                <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
                    <div class="layui-tab-item layui-show">
                        <form method="post">
                            <div class="layui-row layui-col-space15 layui-form-item">
                                <div class="layui-col-md8">
                                    <label for="L_title" class="layui-form-label">标题</label>
                                    <div class="layui-input-block">
                                        <!--                                        用户id-->
                                        <input name="uid" type="hidden" value="">

                                        <input type="text" id="L_title" value="" name="title" required
                                               lay-verify="required|title" autocomplete="off" class="layui-input">
                                        <!-- <input type="hidden" name="id" value="{{d.edit.id}}"> -->
                                    </div>
                                </div>
                            </div>
                            <!--富文本-->
                            <div class="layui-form-item layui-form-text">
                                <textarea id="L_content" name="content" style="display: none;"
                                          lay-verify="content"></textarea>
                                <div style="float: right">tips:最多发布三张5MB大小内的图片哦！</div>
                            </div>
                            <div class="layui-row layui-col-space15 layui-form-itemlayui-row layui-col-space15 layui-form-item">
                                <div class="layui-col-md4">
                                    <div class="layui-form-item" pane="">
                                        <label class="layui-form-label">公开形式</label>
                                        <div class="layui-input-block">
                                            <input type="radio" name="openProcedure" checked="checked" value="0"
                                                   title="所有人可访问">
                                            <div class="layui-unselect layui-form-radio layui-form-radioed"><i
                                                    class="layui-anim layui-icon"></i>
                                            </div>
                                            <input type="radio" name="openProcedure" value="1" title="仅自己">
                                            <div class="layui-unselect layui-form-radio"><i
                                                    class="layui-anim layui-icon"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-row layui-col-space15 layui-form-itemlayui-row layui-col-space15 layui-form-item">
                                <div class="layui-col-md4">
                                    <div class="layui-form-item" pane="">
                                        <label class="layui-form-label">评论状态</label>
                                        <div class="layui-input-block">
                                            <input type="radio" name="reviewStatus" checked="checked" value="1"
                                                   title="评论公开">
                                            <div class="layui-unselect layui-form-radio layui-form-radioed"><i
                                                    class="layui-anim layui-icon"></i>
                                            </div>
                                            <input type="radio" name="reviewStatus" value="0" title="评论禁止">
                                            <div class="layui-unselect layui-form-radio"><i
                                                    class="layui-anim layui-icon"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-md2" style="float: right;">
                                    <div class="layui-form-item">
                                        <button style="float: right;margin-right: 10px;"
                                                class="layui-btn layui-btn-normal" lay-filter="publishArticle"
                                                type="button"
                                                lay-submit>立即发布
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--页面底部-->
<div th:replace="~{common/footer::foot}"></div>
<script th:src="@{/js/mods/add.js}"></script>
</body>
</html>